package com.q.tqb.base;

import com.q.tqb.R;

/**
 * Created by Administrator on 2017/12/25.
 * 常量类
 */

public class AppConst {


    //微信
    public final static String WEIXIN_APP_ID = "wx7f8bef6e36fc3e1c";
    public final static String WEIXIN_APP_SECRET = "aa11e1851c3cab67e43bf72e1d386aee";


    //科大讯飞语音识别
    public final static String SOUND_APP_ID = "appid=5a348ad7";

    //OSS对象存储
    public final static String OSS_APP_ID = "LTAI9SAeQdhFfd5p";
    public final static String OSS_APP_SECRET = "vv5X69PxFNfuHbnKaR7GlKBzwmdgkZ";
    public final static String OSS_BUCKET = "newtqb";
    public static final String OSS_ADDRESS = "http://oss-demo.aliyuncs.com:23450";
    public static final String UPDATE_APP = "http://newtqb.oss-cn-shenzhen.aliyuncs.com/tqboo.apk";
    public static final String OSS_URL = "http://newtqb.oss-cn-shenzhen.aliyuncs.com/";

    //发送红包，订单类型
    public static int ORDER_TYPE = 0;


    //微信支付，登录回调
    public static final String PAY_SPEAKING = "com.q.tqb.speaking.pay";
    public static final String PAY_MAP = "com.q.tqb.map.pay";
    public static final String PAY_IMAGE = "com.q.tqb.image.pay";
    public static final String PAY_TWEETER = "com.q.tqb.tweeter.pay";
    public static final String WX_LOGIN = "com.q.tqb.wx.login";
    public static final String WX_SHARE = "com.q.tqb.wx.share";
    public static final String WX_XJB = "com.q.tqb.wx.xjb";

    public static final String URL_SHARE = "http://m.tqboo.com/home/packet/picdetail?id=";
    public static final String URL_RULE = "http://m.tqboo.com/home/help/rule";
    public static final String URL_CODE_SHARE = "http://m.tqboo.com/home/user/packetlist?uid=";
    public static final String URL_ABOUT_US = "http://m.tqboo.com/home/help/about";


    //baseUrl
//    private final static String BASE_URL = "http://m.tqboo.com/api/";
    private final static String BASE_URL = "http://39.106.152.54:88/api/";

   //  private final static String BASE_URL = "http://test.tqboo.com/api/";

    //绑定手机号
    public final static String URL_TEL_BIND = BASE_URL + "user/bingMobile";

    //设置支付密码
    public final static String URL_PAY_PASSWORD = BASE_URL + "user/setPayPassword";

    //手机登录
    public final static String URL_TEL_LOGIN = BASE_URL + "login/login";

    //微信登录
    public final static String URL_WX_LOGIN = BASE_URL + "login/wx_login";

    //首页轮播图
    public final static String URL_BANNER = BASE_URL + "index/getBannerList";

    //首页红包
    public final static String URL_GET_HOME_PACKET = BASE_URL + "index/getIndexPacket";

    //用户发送红包
    public final static String URL_SEND_PACKET = BASE_URL + "packet/send_packet";

    //用户获取红包列表
    public final static String URL_GET_PACKET_LIST = BASE_URL + "packet/getPacketList";

    //用户获取红包详情
    public final static String URL_GET_PACKET_DETAIL = BASE_URL + "packet/packetInfo";

    //获取已抢红包语音消息
    public final static String URL_GET_PACKET_DETAIL_LIST = BASE_URL + "packet/packetGetList";

    //获取已抢红包语音消息
    public final static String URL_GET_PACKET_DETAIL_LIST1 = BASE_URL + "packet/packetGetListBefore";

    //获取评论列表消息
    public final static String URL_GET_PACKET_COMMENT_LIST = BASE_URL + "packet/getCommentList";

    //评论红包
    public final static String URL_GET_PACKET_COMMENT = BASE_URL + "packet/packetComment";

    //抢红包
    public final static String URL_GET_PACKET = BASE_URL + "packet/get_packet";

    //订单微信支付
    public final static String URL_WX_PAY = BASE_URL + "wxpay/wxPayApp";

    //地图红包列表
    public final static String URL_GET_MAP_LIST = BASE_URL + "packet/getAddressPacketList";

    //获得红包钱数排行列表
    public final static String URL_USER_GET = BASE_URL + "user/allGetRankList";

    //发送红包钱数排行
    public final static String URL_USER_SEND = BASE_URL + "user/allSendRankList";

    //获得可添加银行卡银行列表
    public final static String URL_BANK_LIST = BASE_URL + "user/getBankList";

    //绑定银行卡
    public final static String URL_ADD_BANK = BASE_URL + "user/userBindBank";

    //绑定银行卡
    public final static String URL_GET_CODE = BASE_URL + "Base/getSmsByMobile";

    //获得我的银行卡
    public final static String URL_GET_BANK = BASE_URL + "user/getUserBank";

    //删除银行卡
    public final static String URL_DEL_BANK = BASE_URL + "user/delBindBank";

    //获得我的余额
    public final static String URL_GET_MONEY = BASE_URL + "user/getMyMoney";

    //提现接口
    public final static String URL_PAY_MONEY = BASE_URL + "wxpay/payUserBank";

    //获得APP版本
    public final static String URL_GET_APP_VERSION = BASE_URL + "index/getAppVersion";

    //获得所有红包数和用户数
    public final static String URL_GET_ALL_AMOUNT = BASE_URL + "user/getAllUserAndPacketNum";

    //获得分享内容
    public final static String URL_GET_SHARE_MSG = BASE_URL + "index/shareMsg";

    //升级为推客
    public final static String URL_ADD_USER_AGENT = BASE_URL + "user/addUserAgent";

    //分享添加次数
    public final static String URL_ADD_TIME_SHARE = BASE_URL + "packet/addNumByShare";

    //我的发送红包
    public final static String URL_MINE_POST_PACKET_LIST = BASE_URL + "user/getUserPostPacketList";

    //我的领取红包
    public final static String URL_MINE_GET_PACKET_LIST = BASE_URL + "user/getUserGetPacketList";

    //申请商户
    public final static String URL_APPLY_MERCHANT = BASE_URL + "user/applyMerchant";

    //获得商户资料
    public final static String URL_GET_MERCHANT = BASE_URL + "user/getUserMerchant";

    //推客获得推荐的用户
    public final static String URL_GET_TWEETER_USER = BASE_URL + "user/getUserByRefereeId";

    //获得地址返回码
    public final static String URL_GET_ADDRESS_CODE = BASE_URL + "index/getAddressCodeByAddress";

    //获得个人信息
    public final static String URL_GET_USER_INFO = BASE_URL + "user/getUserInfo";

    //获得零钱明细
    public final static String URL_GET_USER_MONEY_DETAIL = BASE_URL + "user/userMoneyLogList";

    //获得统计数量
    public final static String URL_GET_USER_AGENT_NUM = BASE_URL + "user/getMyUserAndAgentNum";

    //红包撤回
    public final static String URL_REVOKE_PACKET = BASE_URL + "user/revokePacket";

    //修改个人资料
    public final static String URL_UPDATE_INFO = BASE_URL + "user/updateUserInfo";

    //排行活动
    public final static String URL_ACTIVITY = BASE_URL + "Activity/getRankByDay";

    /**
     * 新增
     */
    //获取手机验证码
    public final static String URL_GET_PHONE_CODE = BASE_URL + "base/getSmsByMobile";
    //重置密码
    public final static String URL_FIND_PWD = BASE_URL + "user/findpwd";
    //注册
    public final static String URL_REGISTER = BASE_URL + "user/register";
    //获取红包专区
    public final static String URL_GET_BANK_AREA = BASE_URL + "packet/getBankArea";
    //获取红包数量
    public final static String URL_PACKET_NUM = BASE_URL + "packet/packetNum";
    //获取可升级会员等级
    public final static String URL_GET_UPGRADE = BASE_URL + "user/getUpgrade";
    //升级会员
    public final static String URL_UPGRADE = BASE_URL + "user/upgrade";
    //修改手机号
    public final static String URL_CHANGEMOBILE = BASE_URL + "user/changeMobile";

    //发起入驻社区申请
    public final static String URL_ADD_COMMUNITY = BASE_URL + "user/addCommunity";

    //加入代理
    public final static String URL_ADD_AGENT = BASE_URL + "user/addAgent";
    //购买现金币
    public final static String URL_BUY_MONEY = BASE_URL + "Wxpay/buyMoney";

    public final static String URL_CHANGE_HEADER = BASE_URL + "user/change_header_img";
}
